//
//  playDataBase.h
//  New
//
//  Created by dlios on 15-7-24.
//  Copyright (c) 2015年 yangTao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "PlayModel.h"

@interface playDataBase : NSObject

+(instancetype)sharPlayDataBase;


-(void)OpenDB;
-(void)creatTable;
-(void)insertNewModel:(PlayModel *)playMod;
-(NSMutableArray *)selectAllplayMod;
-(void)dropTable;



//收藏
-(void)creatTable1;
-(void)insertNewStoreModel:(PlayModel *)playMod;
-(PlayModel *)selectAll:(PlayModel *)playMod;
-(void)dropTable1:(PlayModel *)playMod;
-(NSMutableArray *)selectAllStore;
-(void)dropTable1;
@end
